package com.qiantu.phone.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class LinkageConditionBaseBean implements Parcelable{
    private int conditionType;
    private int areaType;
    private String areaCoding;
    private String areaName;
    private String briefing;
    private int imageUrl;
    private int sort;

    protected LinkageConditionBaseBean(Parcel in) {
        conditionType = in.readInt();
        areaType = in.readInt();
        areaCoding = in.readString();
        areaName = in.readString();
        briefing = in.readString();
        imageUrl = in.readInt();
        sort = in.readInt();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(conditionType);
        dest.writeInt(areaType);
        dest.writeString(areaCoding);
        dest.writeString(areaName);
        dest.writeString(briefing);
        dest.writeInt(imageUrl);
        dest.writeInt(sort);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<LinkageConditionBaseBean> CREATOR = new Creator<LinkageConditionBaseBean>() {
        @Override
        public LinkageConditionBaseBean createFromParcel(Parcel in) {
            return new LinkageConditionBaseBean(in);
        }

        @Override
        public LinkageConditionBaseBean[] newArray(int size) {
            return new LinkageConditionBaseBean[size];
        }
    };

    public int getConditionType() {
        return conditionType;
    }

    public void setConditionType(int conditionType) {
        this.conditionType = conditionType;
    }

    public int getAreaType() {
        return areaType;
    }

    public void setAreaType(int areaType) {
        this.areaType = areaType;
    }

    public String getAreaCoding() {
        return areaCoding;
    }

    public void setAreaCoding(String areaCoding) {
        this.areaCoding = areaCoding;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getBriefing() {
        return briefing;
    }

    public void setBriefing(String briefing) {
        this.briefing = briefing;
    }

    public int getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(int imageUrl) {
        this.imageUrl = imageUrl;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
